import { S } from '../s';
import { IPSSysDictCat } from './ipssys-dict-cat';
import { PSModelObjectImpl } from '../psmodel-object-impl';

export class PSSysDictCatImpl
  extends PSModelObjectImpl
  implements IPSSysDictCat
{
  get codeName(): string {
    return this.M.codeName;
  }

  get dictCatTag(): string {
    return this.M.dictCatTag;
  }

  get dictCatTag2(): string {
    return this.M.dictCatTag2;
  }

  get userDictCat(): boolean {
    return this.M.userDictCat;
  }
  get cls(): string {
    return 'PSSysDictCatImpl';
  }
  instanceof(cls: string): boolean {
    if (cls == S._279) return true;
    return super.instanceof(cls);
  }
}
